package com.sam.chat.mapper;

import com.sam.chat.entity.ChatFriendDao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sam.chat.vo.FriendVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sam
 * @since 2023-01-07
 */
@Mapper
public interface ChatFriendMapper extends BaseMapper<ChatFriendDao> {
    List<FriendVo> getFriendsList(String uid) ;
    FriendVo getFriendInfo(String uid ,String friendId);
    int checkFriendId(String uid ,String friendId);
    int deleteFriend(String uid,String friendId);
}
